<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/root.css"/>
    <link rel="stylesheet" type="text/css" href="css/entrance/home.css"/>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js?ver=2.0.3" charset="utf-8"></script>
    <script type="text/javascript" src="js/underscore-min.js"></script>
    <script src="js/base/api.js"></script>
    <script src="js/base/base.js"></script>
    <script src="js/base/vue-filter.js"></script>
    <script src="js/vue/vue.js"></script>
    <script src="js/swipe.min.js"></script>

    <script src="cordova.js"></script>
    <script>
        var haserr = 0;
        var errmsg = '';
        var dnurl = '';
        var telfront = '';
    </script>

    <script type="text/javascript" src="js/magiclamp.js?ver=2.0.3" charset="utf-8"></script>
    <script type="text/javascript" src="js/entrance/home_self_service.js?ver=2.0.3" charset="utf-8"></script>

</head>
<body>


<div id="goodsapp">
    <header>
        <a @click="page_back" v-if="baseConfig.is_phone" class="h-left back-btn">
            <i class="iconfont icon-fanhui"></i>
        </a>
        <h1 class="h-title" v-text="goods_info.name"></h1>
        <!--<a :href="'goods-info.html?goods_id='+goods_info.id+'&'+sessionid_q" target="" data-href="" class="h-right">商品详情</a>-->
    </header>
    <div id="root" class="h-a-bar">
        <a href="#" id="naked-notice">
            <!--<i class="iconfont icon-kaijiang"></i> 召唤前台送货上门-->
            <!--<i class="iconfont icon-arrow1"></i>-->
        </a>
        <!--商品详情大图-->

        <div id="jiaodiantu">
            <div class='swipe-wrap2'>
                <div v-for="img in goods_info.files_json" v-if="goods_info.files_json.length>0"><img
                        :src="img.url+'&imageView2/0/w/300/h/300'"/></div>
                <div v-if="goods_info.files_json.length==0"><img
                        :src="baseConfig.qn_host+goods_info.small_image__fileurl+'?imageView2/0/w/300/h/300'"></div>
            </div>
            <ul class="xiaoyuandian">
                <li v-for="img in goods_info.files_json"></li>
            </ul>
        </div>
        <!--商品详情页面名称及价格和提示-->
        <div class="g-info">
            <p class="g-name">
                <i class="goods-mark mark-sd" v-text="goods_info.goodstype__name"></i>
                <!--                <i class="goods-mark mark-dn">前台送货</i>-->
                <span class="name" v-text="goods_info.name"></span>
            </p>
            <p class="goods-price">
            <span class="price" v-text="price_filter(goods_info.price)">
                </span>
            </p>
        </div>
        <!--调整数量-->
        <div class="g-reg-count">
            <span class="count-txt">购买数量</span>
            <span class="reg-count"><span class="count-minus" data-min="1" data-msg="不能再少了"><i
                    class="iconfont icon-jian"></i></span>
            <span class="count-sum" id="count-sum">1</span>
            <span class="count-plus" :data-max="goods_info.num-goods_info.sale_num"
                  data-msg="已达到最大库存量"><i class="iconfont icon-jia"></i></span>
            </span>
        </div>
        <p class="goods-notice" v-text="goods_info.desc"></p>
        <!--调整数量-->
        <!--<div class="g-reg-count">-->
        <!--<span class="count-txt">隶属活动:</span>-->
        <!--<span class="reg-count" v-text="goods_info.liveprogram__name" @click="go_to_programe(goods_info.liveprogram_id)"></span>-->
        <!--</div>-->
        <!--神灯&店内有售商品-->

        <!--<p class="buy-tips">-->
        <!--您还可以继续购买-->
        <!--</p>-->
        <!--<div class="other-goods">-->
        <!--&lt;!&ndash;<div class="other-tab">&ndash;&gt;-->
        <!--&lt;!&ndash;<span class="tag-on" id="sd-tab"><span>神灯精品</span></span>&ndash;&gt;-->
        <!--&lt;!&ndash;</div>&ndash;&gt;-->
        <!--&lt;!&ndash;神灯商品&ndash;&gt;-->
        <!--<div class="sd-goods">-->
        <!--<ul class="goods-list i-list">-->
        <!--<li v-for="goods in goods_list">-->
        <!--<a :href="'goods.html?goods_id='+goods.id+'&live_program_id='+goods_info.liveprogram_id+'&'+sessionid_q" class="img-wrap">-->
        <!--<img :src="baseConfig.qn_host+goods.small_image__fileurl+'?imageView2/1/w/105/h/70'"-->
        <!--class="goods-img">-->
        <!--</a>-->
        <!--<p class="g-l-name" v-text="goods.name">-->
        <!--</p>-->
        <!--<p class="g-l-price">-->
        <!--<span class="price" v-text="price_filter(goods.price)"></span>-->
        <!--</p>-->
        <!--</li>-->

        <!--</ul>-->
        <!--<span class="loading-sk" style="display: none;"></span>-->
        <!--<span class="get-more" data-page="2" id="sd-getmore" @click="query_goods_by_liveprograme"-->
        <!--v-if="page_index!=page_count">-->
        <!--加载更多-->
        <!--</span>-->
        <!--</div>-->
        <!--&lt;!&ndash;店内有售商品&ndash;&gt;-->
        <!--<div class="dn-goods" style="display: none;">-->
        <!--<ul class="goods-list i-list">-->
        <!--<input type="hidden" name="page_num" id="dn_page_num" value="1">-->
        <!--</ul>-->
        <!--</div>-->
        <!--</div>-->
        <!--action-bar-->
        <div class="action-bar">
            <a class="ac-left" @click="go_to_programe(goods_info.liveprogram_id)">
                <img src="./img/home.png">
            </a>

            <a class="ac-mid jus" id="addcart" @click="add_cart($event)">
                加入购物车
            </a>
            <a class="ac-right" @click="quick_create_order"
               id='buy_now'>立即购买</a>
            <a class="ac-left" @click="open_cart">
                <i class="cart-pop" id="cartnum" v-if="cart_num" v-text="cart_num">
                </i>
                <i class="iconfont icon-cart"></i>
            </a>
        </div>
    </div>
    <input type="hidden" id="activity" value="0"/>
    <input type="hidden" id="activity-act_img" value=""/>
    <input type="hidden" id="activity-act_title" value=""/>
    <input type="hidden" id="activity-act_desc" value=""/>
    <input type="hidden" id="activity-id" value=""/>
    <input v-model="selected_img" type="hidden">
    <!--<div id="tab-bar">-->
    <!--<a href="/961368.html" class="self_service">-->
    <!--<i class="iconfont icon-erweima"></i>-->
    <!--<span>扫购</span>-->
    <!--</a>-->
    <!--<a href="/discovery/index.html" class="discovery">-->
    <!--<i class="iconfont icon-faxian"></i>-->
    <!--<span>发现</span>-->
    <!--</a>-->
    <!--<a href="/lucky/main/lucky.html" class="lucky">-->
    <!--<i class="iconfont icon-fukuan"></i>-->
    <!--<span>替你付款</span>-->
    <!--</a>-->
    <!--<a href="/account/user/user_center.html" class="user_center">-->
    <!--<i class="iconfont icon-user"></i>-->
    <!--<span>我的</span>-->
    <!--</a>-->
    <!--</div>-->
</div>
</body>

</html>